package com.cw.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author xnd
 * @since 2023/11/27 9:53
 */
@Data
public class LeaveAdviceDTO {

    @ApiModelProperty("住院号")
    private String inpatientNo;

    @ApiModelProperty("住院号集合")
    private List<String> inpatientNoList;

    @ApiModelProperty("患者姓名")
    private String name;

    @ApiModelProperty("出院医嘱  (0是今日出院,1是明日出院,2是其他)")
    private String changeType;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime endTime;

    private  Integer pageNum;

    private  Integer pageSize;
}
